<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>QTreeView Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">QTreeView Class Reference</h1>
<h3 align="center">[<a href="qt_widgets.html">qt.widgets</a> package]</h3>
<p>Inherits <a href="qabstractitemview.html">QAbstractItemView</a>.</p>
<h3>Constructor</h3>
<ul>
<li><div class="fn"/><b>void QTreeView(QWidget parent)</b></li>
</ul>
<h3>Constructor Properties</h3>
<ul>
<li><b>prototype</b>: The QTreeView prototype object</li>
</ul>
<h3>Prototype Object Properties</h3>
<p>The QTreeView prototype object inherits properties from the <a href="qabstractitemview.html">QAbstractItemView</a> prototype object and also has the following properties.</p>
<ul>
<li><div class="fn"/><b>int columnAt(int x)</b></li>
<li><div class="fn"/><b>int columnViewportPosition(int column)</b></li>
<li><div class="fn"/><b>int columnWidth(int column)</b></li>
<li><div class="fn"/><b>QHeaderView header()</b></li>
<li><div class="fn"/><b>QModelIndex indexAbove(QModelIndex index)</b></li>
<li><div class="fn"/><b>QModelIndex indexBelow(QModelIndex index)</b></li>
<li><div class="fn"/><b>bool isColumnHidden(int column)</b></li>
<li><div class="fn"/><b>bool isExpanded(QModelIndex index)</b></li>
<li><div class="fn"/><b>bool isFirstColumnSpanned(int row, QModelIndex parent)</b></li>
<li><div class="fn"/><b>bool isRowHidden(int row, QModelIndex parent)</b></li>
<li><div class="fn"/><b>void resetIndentation()</b></li>
<li><div class="fn"/><b>void setColumnHidden(int column, bool hide)</b></li>
<li><div class="fn"/><b>void setColumnWidth(int column, int width)</b></li>
<li><div class="fn"/><b>void setExpanded(QModelIndex index, bool expand)</b></li>
<li><div class="fn"/><b>void setFirstColumnSpanned(int row, QModelIndex parent, bool span)</b></li>
<li><div class="fn"/><b>void setHeader(QHeaderView header)</b></li>
<li><div class="fn"/><b>void setRowHidden(int row, QModelIndex parent, bool hide)</b></li>
<li><div class="fn"/><b>void setTreePosition(int logicalIndex)</b></li>
<li><div class="fn"/><b>void sortByColumn(int column, SortOrder order)</b></li>
<li><div class="fn"/><b>int treePosition()</b></li>
</ul>
<h3>Instance Properties</h3>
<p>QTreeView objects inherit properties from the QTreeView prototype object and also have the following properties.</p>
<ul>
<li><div class="fn"/><b>autoExpandDelay</b></li>
<li><div class="fn"/><b>indentation</b></li>
<li><div class="fn"/><b>rootIsDecorated</b></li>
<li><div class="fn"/><b>uniformRowHeights</b></li>
<li><div class="fn"/><b>itemsExpandable</b></li>
<li><div class="fn"/><b>sortingEnabled</b></li>
<li><div class="fn"/><b>animated</b></li>
<li><div class="fn"/><b>allColumnsShowFocus</b></li>
<li><div class="fn"/><b>wordWrap</b></li>
<li><div class="fn"/><b>headerHidden</b></li>
<li><div class="fn"/><b>expandsOnDoubleClick</b></li>
</ul>
</body>
</html>
